package com.ktjy.pojo;

import java.util.Date;


public class StorageRecord {
    private Integer id;
    private String srCode;
    private Integer supplierId;
    private String goodsName;
    private String goodsDesc;
    private String goodsUnit;
    private Double goodsCount;
    private Double totalAmount;
    private Integer payStatus;
    private Integer createdUserId;
    private Date createdTime;
    private Integer updatedUserId;
    private Date updatedTime;
    private String supplierName;

    private Supplier supplier;
    private String userRoleName;

    public StorageRecord() {
    }

    public StorageRecord(Integer id, String srCode, Integer supplierId, String goodsName, String goodsDesc, String goodsUnit, Double goodsCount, Double totalAmount, Integer payStatus, Integer createdUserId, Date createdTime, Integer updatedUserId, Date updatedTime) {
        this.id = id;
        this.srCode = srCode;
        this.supplierId = supplierId;
        this.goodsName = goodsName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
    }

    public StorageRecord(Integer id, String srCode, Integer supplierId, String goodsName, String goodsDesc, String goodsUnit, Double goodsCount, Double totalAmount, Integer payStatus, Integer createdUserId, Date createdTime, Integer updatedUserId, Date updatedTime, String supplierName, Supplier supplier) {
        this.id = id;
        this.srCode = srCode;
        this.supplierId = supplierId;
        this.goodsName = goodsName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
        this.supplierName = supplierName;
        this.supplier = supplier;
    }

    public StorageRecord(Integer id, String srCode, Integer supplierId, String goodsName, String goodsDesc, String goodsUnit, Double goodsCount, Double totalAmount, Integer payStatus, Integer createdUserId, Date createdTime, Integer updatedUserId, Date updatedTime, String supplierName, Supplier supplier, String userRoleName) {
        this.id = id;
        this.srCode = srCode;
        this.supplierId = supplierId;
        this.goodsName = goodsName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
        this.supplierName = supplierName;
        this.supplier = supplier;
        this.userRoleName = userRoleName;
    }


    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return srCode
     */
    public String getSrCode() {
        return srCode;
    }

    /**
     * 设置
     *
     * @param srCode
     */
    public void setSrCode(String srCode) {
        this.srCode = srCode;
    }

    /**
     * 获取
     *
     * @return supplierId
     */
    public Integer getSupplierId() {
        return supplierId;
    }

    /**
     * 设置
     *
     * @param supplierId
     */
    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    /**
     * 获取
     *
     * @return goodsName
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置
     *
     * @param goodsName
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取
     *
     * @return goodsDesc
     */
    public String getGoodsDesc() {
        return goodsDesc;
    }

    /**
     * 设置
     *
     * @param goodsDesc
     */
    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    /**
     * 获取
     *
     * @return goodsUnit
     */
    public String getGoodsUnit() {
        return goodsUnit;
    }

    /**
     * 设置
     *
     * @param goodsUnit
     */
    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    /**
     * 获取
     *
     * @return goodsCount
     */
    public Double getGoodsCount() {
        return goodsCount;
    }

    /**
     * 设置
     *
     * @param goodsCount
     */
    public void setGoodsCount(Double goodsCount) {
        this.goodsCount = goodsCount;
    }

    /**
     * 获取
     *
     * @return totalAmount
     */
    public Double getTotalAmount() {
        return totalAmount;
    }

    /**
     * 设置
     *
     * @param totalAmount
     */
    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * 获取
     *
     * @return payStatus
     */
    public Integer getPayStatus() {
        return payStatus;
    }

    /**
     * 设置
     *
     * @param payStatus
     */
    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    /**
     * 获取
     *
     * @return createdUserId
     */
    public Integer getCreatedUserId() {
        return createdUserId;
    }

    /**
     * 设置
     *
     * @param createdUserId
     */
    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    /**
     * 获取
     *
     * @return createdTime
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * 设置
     *
     * @param createdTime
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 获取
     *
     * @return updatedUserId
     */
    public Integer getUpdatedUserId() {
        return updatedUserId;
    }

    /**
     * 设置
     *
     * @param updatedUserId
     */
    public void setUpdatedUserId(Integer updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    /**
     * 获取
     *
     * @return updatedTime
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * 设置
     *
     * @param updatedTime
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String toString() {
        return "StorageRecord{id = " + id + ", srCode = " + srCode + ", supplierId = " + supplierId + ", goodsName = " + goodsName + ", goodsDesc = " + goodsDesc + ", goodsUnit = " + goodsUnit + ", goodsCount = " + goodsCount + ", totalAmount = " + totalAmount + ", payStatus = " + payStatus + ", createdUserId = " + createdUserId + ", createdTime = " + createdTime + ", updatedUserId = " + updatedUserId + ", updatedTime = " + updatedTime + "}";
    }

    /**
     * 获取
     *
     * @return supplierName
     */
    public String getSupplierName() {
        return supplierName;
    }

    /**
     * 设置
     *
     * @param supplierName
     */
    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    /**
     * 获取
     *
     * @return supplier
     */
    public Supplier getSupplier() {
        return supplier;
    }

    /**
     * 设置
     *
     * @param supplier
     */
    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    /**
     * 获取
     * @return userRoleName
     */
    public String getUserRoleName() {
        return userRoleName;
    }

    /**
     * 设置
     * @param userRoleName
     */
    public void setUserRoleName(String userRoleName) {
        this.userRoleName = userRoleName;
    }
}
